<!doctype html>
<html>
<head>
<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>
<title>友报账对接.md</title><style type='text/css'>html, body {overflow-x: initial !important;}.CodeMirror { height: auto; }
.CodeMirror-scroll { overflow-y: hidden; overflow-x: auto; }
.CodeMirror-lines { padding: 4px 0px; }
.CodeMirror pre { }
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { background-color: white; }
.CodeMirror-gutters { border-right-width: 1px; border-right-style: solid; border-right-color: rgb(221, 221, 221); white-space: nowrap; background-color: rgb(247, 247, 247); }
.CodeMirror-linenumbers { }
.CodeMirror-linenumber { padding: 0px 3px 0px 5px; text-align: right; color: rgb(153, 153, 153); }
.CodeMirror div.CodeMirror-cursor { border-left-width: 1px; border-left-style: solid; border-left-color: black; z-index: 3; }
.CodeMirror div.CodeMirror-secondarycursor { border-left-width: 1px; border-left-style: solid; border-left-color: silver; }
.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor { width: auto; border: 0px; z-index: 1; background: rgb(119, 238, 119); }
.CodeMirror div.CodeMirror-cursor.CodeMirror-overwrite { }
.cm-tab { display: inline-block; }
.cm-s-typora-default .cm-header, .cm-s-typora-default .cm-property { color: rgb(217, 79, 138); }
.cm-s-typora-default pre.cm-header1:not(.cm-atom) :not(.cm-overlay) { font-size: 2rem; line-height: 2rem; }
.cm-s-typora-default pre.cm-header2:not(.cm-atom) :not(.cm-overlay) { font-size: 1.4rem; line-height: 1.4rem; }
.cm-s-typora-default .cm-atom, .cm-s-typora-default .cm-number { color: rgb(149, 132, 134); }
.cm-s-typora-default .cm-table-row, .cm-s-typora-default .cm-block-start { font-family: monospace; }
.cm-s-typora-default .cm-comment, .cm-s-typora-default .cm-code { color: rgb(74, 90, 159); font-family: monospace; }
.cm-s-typora-default .cm-tag { color: rgb(169, 68, 66); }
.cm-s-typora-default .cm-string { color: rgb(126, 134, 169); }
.cm-s-typora-default .cm-link { color: rgb(196, 122, 15); text-decoration: underline; }
.cm-s-typora-default .cm-variable-2, .cm-s-typora-default .cm-variable-1 { color: inherit; }
.cm-s-typora-default .cm-overlay { font-size: 1rem; font-family: monospace; }
.CodeMirror.cm-s-typora-default div.CodeMirror-cursor { border-left-width: 3px; border-left-style: solid; border-left-color: rgb(228, 98, 154); }
.cm-s-typora-default .CodeMirror-activeline-background { left: -60px; right: -30px; background: rgba(204, 204, 204, 0.2); }
.cm-s-typora-default .CodeMirror-gutters { border-right-style: none; background-color: inherit; }
.cm-s-typora-default .cm-trailing-space-new-line::after, .cm-startspace::after, .cm-starttab .cm-tab::after { content: "•"; position: absolute; left: 0px; opacity: 0; font-family: LetterGothicStd, monospace; }
.os-windows .cm-startspace::after, .os-windows .cm-starttab .cm-tab::after { left: -0.1em; }
.cm-starttab .cm-tab::after { content: " "; }
.cm-startspace, .cm-tab, .cm-starttab, .cm-trailing-space-a, .cm-trailing-space-b, .cm-trailing-space-new-line { font-family: monospace; position: relative; }
.cm-s-typora-default .cm-trailing-space-new-line::after { content: "↓"; opacity: 0.3; }
.cm-s-inner .cm-keyword { color: rgb(119, 0, 136); }
.cm-s-inner .cm-atom, .cm-s-inner.cm-atom { color: rgb(34, 17, 153); }
.cm-s-inner .cm-number { color: rgb(17, 102, 68); }
.cm-s-inner .cm-def { color: rgb(0, 0, 255); }
.cm-s-inner .cm-variable { color: black; }
.cm-s-inner .cm-variable-2 { color: rgb(0, 85, 170); }
.cm-s-inner .cm-variable-3 { color: rgb(0, 136, 85); }
.cm-s-inner .cm-property { color: black; }
.cm-s-inner .cm-operator { color: rgb(152, 26, 26); }
.cm-s-inner .cm-comment, .cm-s-inner.cm-comment { color: rgb(170, 85, 0); }
.cm-s-inner .cm-string { color: rgb(170, 17, 17); }
.cm-s-inner .cm-string-2 { color: rgb(255, 85, 0); }
.cm-s-inner .cm-meta { color: rgb(85, 85, 85); }
.cm-s-inner .cm-qualifier { color: rgb(85, 85, 85); }
.cm-s-inner .cm-builtin { color: rgb(51, 0, 170); }
.cm-s-inner .cm-bracket { color: rgb(153, 153, 119); }
.cm-s-inner .cm-tag { color: rgb(17, 119, 0); }
.cm-s-inner .cm-attribute { color: rgb(0, 0, 204); }
.cm-s-inner .cm-header, .cm-s-inner.cm-header { color: blue; }
.cm-s-inner .cm-quote, .cm-s-inner.cm-quote { color: rgb(0, 153, 0); }
.cm-s-inner .cm-hr, .cm-s-inner.cm-hr { color: rgb(153, 153, 153); }
.cm-s-inner .cm-link, .cm-s-inner.cm-link { color: rgb(0, 0, 204); }
.cm-negative { color: rgb(221, 68, 68); }
.cm-positive { color: rgb(34, 153, 34); }
.cm-header, .cm-strong { font-weight: bold; }
.cm-del { text-decoration: line-through; }
.cm-em { font-style: italic; }
.cm-link { text-decoration: underline; }
.cm-error { color: rgb(255, 0, 0); }
.cm-invalidchar { color: rgb(255, 0, 0); }
div.CodeMirror span.CodeMirror-matchingbracket { color: rgb(0, 255, 0); }
div.CodeMirror span.CodeMirror-nonmatchingbracket { color: rgb(255, 34, 34); }
.cm-s-inner .CodeMirror-activeline-background { background: inherit; }
.CodeMirror { position: relative; overflow: hidden; }
.CodeMirror-scroll { margin-bottom: -30px; margin-right: -30px; padding-bottom: 30px; padding-right: 30px; height: 100%; outline: none; position: relative; box-sizing: content-box; }
.CodeMirror-sizer { position: relative; }
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { position: absolute; z-index: 6; display: none; }
.CodeMirror-vscrollbar { right: 0px; top: 0px; overflow-x: hidden; overflow-y: scroll; }
.CodeMirror-hscrollbar { bottom: 0px; left: 0px; overflow-y: hidden; overflow-x: scroll; }
.CodeMirror-scrollbar-filler { right: 0px; bottom: 0px; }
.CodeMirror-gutter-filler { left: 0px; bottom: 0px; }
.CodeMirror-gutters { position: absolute; left: 0px; top: 0px; padding-bottom: 30px; z-index: 3; }
.CodeMirror-gutter { white-space: normal; height: 100%; box-sizing: content-box; padding-bottom: 30px; margin-bottom: -32px; display: inline-block; }
.CodeMirror-gutter-elt { position: absolute; cursor: default; z-index: 4; }
.CodeMirror-lines { cursor: text; }
.CodeMirror pre { border-radius: 0px; border-width: 0px; font-family: inherit; font-size: inherit; margin: 0px; white-space: pre; word-wrap: normal; color: inherit; z-index: 2; position: relative; overflow: visible; background: transparent; }
.CodeMirror-wrap pre { word-wrap: break-word; white-space: pre-wrap; word-break: normal; }
.CodeMirror-code pre { border-right-width: 30px; border-right-style: solid; border-right-color: transparent; width: fit-content; }
.CodeMirror-wrap .CodeMirror-code pre { border-right-style: none; width: auto; }
.CodeMirror-linebackground { position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; z-index: 0; }
.CodeMirror-linewidget { position: relative; z-index: 2; overflow: auto; }
.CodeMirror-widget { }
.CodeMirror-wrap .CodeMirror-scroll { overflow-x: hidden; }
.CodeMirror-measure { position: absolute; width: 100%; height: 0px; overflow: hidden; visibility: hidden; }
.CodeMirror-measure pre { position: static; }
.CodeMirror div.CodeMirror-cursor { position: absolute; visibility: hidden; border-right-style: none; width: 0px; }
.CodeMirror div.CodeMirror-cursor { visibility: hidden; }
.CodeMirror-focused div.CodeMirror-cursor { visibility: inherit; }
.CodeMirror-selected { background: rgb(217, 217, 217); }
.CodeMirror-focused .CodeMirror-selected { background: rgb(215, 212, 240); }
.cm-searching { background: rgba(255, 255, 0, 0.4); }
.CodeMirror span { }
@media print { 
  .CodeMirror div.CodeMirror-cursor { visibility: hidden; }
}
.CodeMirror-lint-markers { width: 16px; }
.CodeMirror-lint-tooltip { border: 1px solid black; border-radius: 4px; color: infotext; font-family: monospace; overflow: hidden; padding: 2px 5px; position: fixed; white-space: pre-wrap; z-index: 10000; max-width: 600px; opacity: 0; transition: opacity 0.4s; font-size: 0.8em; background-color: infobackground; }
.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning { background-position: left bottom; background-repeat: repeat-x; }
.CodeMirror-lint-mark-error { background-image: url(""); }
.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning { cursor: pointer; display: inline-block; height: 16px; width: 16px; vertical-align: middle; position: relative; background-position: center center; background-repeat: no-repeat; }
.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning { padding-left: 18px; background-position: left top; background-repeat: no-repeat; }
.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error { background-image: url(""); }
.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning { background-image: url(""); }
.CodeMirror-lint-marker-multiple { width: 100%; height: 100%; background-image: url(""); background-position: right bottom; background-repeat: no-repeat; }


html { font-size: 14px; }
body { margin: 0px; padding: 0px; height: auto; bottom: 0px; top: 0px; left: 0px; right: 0px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1rem; line-height: 1.42857; color: rgb(51, 51, 51); overflow-x: hidden; background-color: rgb(255, 255, 255); }
a:active, a:hover { outline: 0px; }
.in-text-selection, ::selection { text-shadow: none; background: rgb(181, 214, 252); }
#write { margin: 0px auto; height: auto; width: inherit; word-break: normal; word-wrap: break-word; position: relative; padding-bottom: 70px; white-space: pre-wrap; }
body.typora-export { padding-left: 30px; padding-right: 30px; }
@media screen and (max-width: 500px) { 
  body.typora-export { padding-left: 0px; padding-right: 0px; }
  .CodeMirror-sizer { margin-left: 0px !important; }
  .CodeMirror-gutters { display: none !important; }
}
.typora-export #write { margin: 0px auto; }
#write > p:first-child, #write > ul:first-child, #write > ol:first-child, #write > pre:first-child, #write > blockquote:first-child, #write > div:first-child, #write > table:first-child { margin-top: 30px; }
img { max-width: 100%; }
input, button, select, textarea { color: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; }
input[type="checkbox"], input[type="radio"] { line-height: normal; padding: 0px; }
::before, ::after, * { box-sizing: border-box; }
#write p, #write h1, #write h2, #write h3, #write h4, #write h5, #write h6, #write div, #write pre { width: inherit; }
#write p, #write h1, #write h2, #write h3, #write h4, #write h5, #write h6 { position: relative; }
h1 { font-size: 2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }
p { -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; -webkit-margin-start: 0px; -webkit-margin-end: 0px; }
.mathjax-block { margin-top: 0px; margin-bottom: 0px; -webkit-margin-before: 0rem; -webkit-margin-after: 0rem; }
.hidden { display: none; }
.md-blockmeta { color: rgb(204, 204, 204); font-weight: bold; font-style: italic; }
a { cursor: pointer; }
#write input[type="checkbox"] { cursor: pointer; width: inherit; height: inherit; margin: 4px 0px 0px; }
tr { break-inside: avoid; break-after: auto; }
thead { display: table-header-group; }
table { border-collapse: collapse; border-spacing: 0px; width: 100%; overflow: auto; break-inside: auto; text-align: left; }
table.md-table td { min-width: 80px; }
.CodeMirror-gutters { border-right-width: 0px; background-color: inherit; }
.CodeMirror { text-align: left; }
.CodeMirror-placeholder { opacity: 0.3; }
.CodeMirror pre { padding: 0px 4px; }
.CodeMirror-lines { padding: 0px; }
div.hr:focus { cursor: none; }
pre { white-space: pre-wrap; }
.CodeMirror-gutters { margin-right: 4px; }
.md-fences { font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; overflow: visible; white-space: pre; position: relative !important; background: inherit; }
.md-diagram-panel { width: 100%; margin-top: 10px; text-align: center; padding-top: 0px; padding-bottom: 8px; overflow-x: auto; }
.md-fences .CodeMirror.CodeMirror-wrap { top: -1.6em; margin-bottom: -1.6em; }
.md-fences.mock-cm { white-space: pre-wrap; }
.show-fences-line-number .md-fences { padding-left: 0px; }
.show-fences-line-number .md-fences.mock-cm { padding-left: 40px; }
.footnotes { color: rgb(136, 136, 136); font-size: 0.9rem; padding-top: 1em; padding-bottom: 1em; }
.footnotes + .footnotes { margin-top: -1em; }
.md-reset { margin: 0px; padding: 0px; border: 0px; outline: 0px; vertical-align: top; text-decoration: none; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1rem; text-shadow: none; float: none; position: static; width: auto; height: auto; white-space: nowrap; cursor: inherit; -webkit-tap-highlight-color: transparent; line-height: normal; font-weight: normal; text-align: left; box-sizing: content-box; direction: ltr; background: transparent; }
li div { padding-top: 0px; }
blockquote { margin: 1rem 0px; }
li p, li .mathjax-block { margin: 0.5rem 0px; }
li { margin: 0px; position: relative; }
blockquote > :last-child { margin-bottom: 0px; }
blockquote > :first-child { margin-top: 0px; }
.footnotes-area { color: rgb(136, 136, 136); margin-top: 0.714rem; padding-bottom: 0.143rem; }
@media print { 
  html, body { height: 100%; }
  .typora-export * { -webkit-print-color-adjust: exact; }
  h1, h2, h3, h4, h5, h6 { break-after: avoid-page; orphans: 2; }
  p { orphans: 4; }
  html.blink-to-pdf { font-size: 13px; }
  .typora-export #write { padding-left: 1cm; padding-right: 1cm; }
  .typora-export #write::after { height: 0px; }
  @page { margin: 20mm 0mm; }
}
.footnote-line { margin-top: 0.714em; font-size: 0.7em; }
a img, img a { cursor: pointer; }
pre.md-meta-block { font-size: 0.8rem; min-height: 2.86rem; white-space: pre-wrap; display: block; background: rgb(204, 204, 204); }
p > .md-image:only-child { display: inline-block; width: 100%; text-align: center; }
#write .MathJax_Display { margin: 0.8em 0px 0px; }
.mathjax-block { white-space: pre; overflow: hidden; width: 100%; }
p + .mathjax-block { margin-top: -1.143rem; }
.mathjax-block:not(:empty)::after { display: none; }
[contenteditable="true"]:active, [contenteditable="true"]:focus { outline: none; box-shadow: none; }
.task-list { list-style-type: none; }
.task-list-item { position: relative; padding-left: 1em; }
.task-list-item input { position: absolute; top: 0px; left: 0px; }
.math { font-size: 1rem; }
.md-toc { min-height: 3.58rem; position: relative; font-size: 0.9rem; border-radius: 10px; }
.md-toc-content { position: relative; margin-left: 0px; }
.md-toc::after, .md-toc-content::after { display: none; }
.md-toc-item { display: block; color: rgb(65, 131, 196); text-decoration: none; }
.md-toc-inner:hover { }
.md-toc-inner { display: inline-block; cursor: pointer; }
.md-toc-h1 .md-toc-inner { margin-left: 0px; font-weight: bold; }
.md-toc-h2 .md-toc-inner { margin-left: 2em; }
.md-toc-h3 .md-toc-inner { margin-left: 4em; }
.md-toc-h4 .md-toc-inner { margin-left: 6em; }
.md-toc-h5 .md-toc-inner { margin-left: 8em; }
.md-toc-h6 .md-toc-inner { margin-left: 10em; }
@media screen and (max-width: 48em) { 
  .md-toc-h3 .md-toc-inner { margin-left: 3.5em; }
  .md-toc-h4 .md-toc-inner { margin-left: 5em; }
  .md-toc-h5 .md-toc-inner { margin-left: 6.5em; }
  .md-toc-h6 .md-toc-inner { margin-left: 8em; }
}
a.md-toc-inner { font-size: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; }
.footnote-line a:not(.reversefootnote) { color: inherit; }
.md-attr { display: none; }
.md-fn-count::after { content: "."; }
.md-tag { opacity: 0.5; }
code { text-align: left; }
h1 .md-tag, h2 .md-tag, h3 .md-tag, h4 .md-tag, h5 .md-tag, h6 .md-tag { font-weight: initial; opacity: 0.35; }
a.md-header-anchor.md-print-anchor { border: none !important; display: inline-block !important; position: absolute !important; width: 1px !important; right: 0px !important; outline: none !important; text-decoration: initial !important; text-shadow: initial !important; background: transparent !important; }
.md-inline-math .MathJax_SVG .noError { display: none !important; }
.mathjax-block .MathJax_SVG_Display { text-align: center; margin: 1em 0em; position: relative; text-indent: 0px; max-width: none; max-height: none; min-width: 0px; min-height: 0px; width: 100%; display: block !important; }
.MathJax_SVG_Display, .md-inline-math .MathJax_SVG_Display { width: auto; margin: inherit; display: inline-block !important; }
.MathJax_SVG .MJX-monospace { font-family: monospace; }
.MathJax_SVG .MJX-sans-serif { font-family: sans-serif; }
.MathJax_SVG { display: inline; font-style: normal; font-weight: normal; line-height: normal; zoom: 90%; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; }
.MathJax_SVG * { transition: none; }


@font-face { font-family: "Open Sans"; font-style: normal; font-weight: normal; src: local("Open Sans Regular"), url("./github/400.woff") format("woff"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: normal; src: local("Open Sans Italic"), url("./github/400i.woff") format("woff"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: bold; src: local("Open Sans Bold"), url("./github/700.woff") format("woff"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: bold; src: local("Open Sans Bold Italic"), url("./github/700i.woff") format("woff"); }
html { font-size: 16px; }
body { font-family: "Open Sans", "Clear Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; color: rgb(51, 51, 51); line-height: 1.6; }
#write { max-width: 860px; margin: 0px auto; padding: 20px 30px 100px; }
#write > ul:first-child, #write > ol:first-child { margin-top: 30px; }
body > :first-child { margin-top: 0px !important; }
body > :last-child { margin-bottom: 0px !important; }
a { color: rgb(65, 131, 196); }
h1, h2, h3, h4, h5, h6 { position: relative; margin-top: 1rem; margin-bottom: 1rem; font-weight: bold; line-height: 1.4; cursor: text; }
h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, h5:hover a.anchor, h6:hover a.anchor { text-decoration: none; }
h1 tt, h1 code { font-size: inherit; }
h2 tt, h2 code { font-size: inherit; }
h3 tt, h3 code { font-size: inherit; }
h4 tt, h4 code { font-size: inherit; }
h5 tt, h5 code { font-size: inherit; }
h6 tt, h6 code { font-size: inherit; }
h1 { padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(238, 238, 238); }
h2 { padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(238, 238, 238); }
h3 { font-size: 1.5em; line-height: 1.43; }
h4 { font-size: 1.25em; }
h5 { font-size: 1em; }
h6 { font-size: 1em; color: rgb(119, 119, 119); }
p, blockquote, ul, ol, dl, table { margin: 0.8em 0px; }
li > ol, li > ul { margin: 0px; }
hr { height: 4px; padding: 0px; margin: 16px 0px; border-width: 0px 0px 1px; border-style: none none solid; overflow: hidden; box-sizing: content-box; border-bottom-color: rgb(221, 221, 221); background-color: rgb(231, 231, 231); }
body > h2:first-child { margin-top: 0px; padding-top: 0px; }
body > h1:first-child { margin-top: 0px; padding-top: 0px; }
body > h1:first-child + h2 { margin-top: 0px; padding-top: 0px; }
body > h3:first-child, body > h4:first-child, body > h5:first-child, body > h6:first-child { margin-top: 0px; padding-top: 0px; }
a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 { margin-top: 0px; padding-top: 0px; }
h1 p, h2 p, h3 p, h4 p, h5 p, h6 p { margin-top: 0px; }
li p.first { display: inline-block; }
ul, ol { padding-left: 30px; }
ul:first-child, ol:first-child { margin-top: 0px; }
ul:last-child, ol:last-child { margin-bottom: 0px; }
blockquote { border-left-width: 4px; border-left-style: solid; border-left-color: rgb(221, 221, 221); padding: 0px 15px; color: rgb(119, 119, 119); }
blockquote blockquote { padding-right: 0px; }
table { padding: 0px; }
table tr { border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); margin: 0px; padding: 0px; background-color: white; }
table tr:nth-child(2n) { background-color: rgb(248, 248, 248); }
table tr th { font-weight: bold; border: 1px solid rgb(204, 204, 204); text-align: left; margin: 0px; padding: 6px 13px; }
table tr td { border: 1px solid rgb(204, 204, 204); text-align: left; margin: 0px; padding: 6px 13px; }
table tr th:first-child, table tr td:first-child { margin-top: 0px; }
table tr th:last-child, table tr td:last-child { margin-bottom: 0px; }
.CodeMirror-gutters { border-right-width: 1px; border-right-style: solid; border-right-color: rgb(221, 221, 221); }
.md-fences, code, tt { border: 1px solid rgb(221, 221, 221); border-radius: 3px; font-family: Consolas, "Liberation Mono", Courier, monospace; padding: 2px 4px 0px; font-size: 0.9em; background-color: rgb(248, 248, 248); }
.md-fences { margin-bottom: 15px; margin-top: 15px; padding: 8px 1em 6px; }
.task-list { padding-left: 0px; }
.task-list-item { padding-left: 32px; }
.task-list-item input { top: 3px; left: 8px; }
@media screen and (min-width: 914px) { 
}
@media print { 
  html { font-size: 13px; }
  table, pre { break-inside: avoid; }
  pre { word-wrap: break-word; }
}
.md-fences { background-color: rgb(248, 248, 248); }
#write pre.md-meta-block { padding: 1rem; font-size: 85%; line-height: 1.45; border: 0px; border-radius: 3px; color: rgb(119, 119, 119); margin-top: 0px !important; background-color: rgb(247, 247, 247); }
.mathjax-block > .code-tooltip { bottom: 0.375rem; }
#write > h3.md-focus::before { left: -1.5625rem; top: 0.375rem; }
#write > h4.md-focus::before { left: -1.5625rem; top: 0.285714rem; }
#write > h5.md-focus::before { left: -1.5625rem; top: 0.285714rem; }
#write > h6.md-focus::before { left: -1.5625rem; top: 0.285714rem; }
.md-image > .md-meta { border: 1px solid rgb(221, 221, 221); border-radius: 3px; font-family: Consolas, "Liberation Mono", Courier, monospace; padding: 2px 4px 0px; font-size: 0.9em; color: inherit; background-color: rgb(248, 248, 248); }
.md-tag { color: inherit; }
.md-toc { margin-top: 20px; padding-bottom: 20px; }
#typora-quick-open { border: 1px solid rgb(221, 221, 221); background-color: rgb(248, 248, 248); }
#typora-quick-open-item { border-color: rgb(254, 254, 254) rgb(229, 229, 229) rgb(229, 229, 229) rgb(238, 238, 238); border-style: solid; border-width: 1px; background-color: rgb(250, 250, 250); }
.on-focus-mode blockquote { border-left-color: rgba(85, 85, 85, 0.117647); }
header, .context-menu, .megamenu-content, footer { font-family: "Segoe UI", Arial, sans-serif; }






</style>
</head>
<body class='typora-export ' >
<div  id='write'  class = 'is-node'><h1><a name='header-c1' class='md-header-anchor '></a>友报账对接</h1><blockquote><p><strong>修改历史</strong></p><table><thead><tr><th style='text-align:left;' >版本号</th><th style='text-align:left;' >变更日期</th><th style='text-align:left;' >变更内容</th><th style='text-align:center;' >变更人</th><th style='text-align:center;' >批准</th></tr></thead><tbody><tr><td style='text-align:left;' >V1.00</td><td style='text-align:left;' >2018-10-30</td><td style='text-align:left;' >创建</td><td style='text-align:center;' >王伟</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >V1.1</td><td style='text-align:left;' >2019-07-10</td><td style='text-align:left;' ></td><td style='text-align:center;' >高天星</td><td style='text-align:center;' ></td></tr></tbody></table></blockquote><hr /><blockquote><p><strong>说明</strong>
所有接口均采用JSON格式（UTF-8）交换数据。接口描述中&lt;&gt;（尖括号）表示占位符，需要替换为真实内容。查询采用采用不定数目的大写字母X表示。
<code>&lt;HOST&gt;</code>：服务的ip地址或者域名
<code>&lt;PORT&gt;</code>：端口</p></blockquote><p></p><div class='md-toc' mdtype='toc'><p class="md-toc-content"><span class="md-toc-item md-toc-h1" data-ref="c1"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1">友报账对接</a></span><span class="md-toc-item md-toc-h2" data-ref="c38"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c38">1、个人发票查询</a></span><span class="md-toc-item md-toc-h3" data-ref="c42"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c42">URL</a></span><span class="md-toc-item md-toc-h3" data-ref="c48"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c48">请求头说明</a></span><span class="md-toc-item md-toc-h3" data-ref="c62"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c62">请求体</a></span><span class="md-toc-item md-toc-h4" data-ref="c64"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c64">请求体说明</a></span><span class="md-toc-item md-toc-h3" data-ref="c180"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c180">返回值</a></span><span class="md-toc-item md-toc-h4" data-ref="c182"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c182">返回值说明</a></span><span class="md-toc-item md-toc-h2" data-ref="c370"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c370">2、发票下载</a></span><span class="md-toc-item md-toc-h3" data-ref="c374"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c374">URL</a></span><span class="md-toc-item md-toc-h3" data-ref="c380"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c380">请求头说明</a></span><span class="md-toc-item md-toc-h3" data-ref="c394"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c394">请求体</a></span><span class="md-toc-item md-toc-h4" data-ref="c396"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c396">请求体说明</a></span><span class="md-toc-item md-toc-h3" data-ref="c448"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c448">返回值</a></span><span class="md-toc-item md-toc-h4" data-ref="c450"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c450">返回值说明</a></span><span class="md-toc-item md-toc-h2" data-ref="c638"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c638"> </a></span><span class="md-toc-item md-toc-h2" data-ref="c641"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c641">3、发票删除</a></span><span class="md-toc-item md-toc-h3" data-ref="c645"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c645">URL</a></span><span class="md-toc-item md-toc-h3" data-ref="c651"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c651">请求头说明</a></span><span class="md-toc-item md-toc-h3" data-ref="c665"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c665">请求体</a></span><span class="md-toc-item md-toc-h4" data-ref="c667"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c667">请求体说明</a></span><span class="md-toc-item md-toc-h3" data-ref="c727"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c727">返回值</a></span><span class="md-toc-item md-toc-h4" data-ref="c729"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c729">返回值说明</a></span><span class="md-toc-item md-toc-h2" data-ref="c750"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c750">4、发票pdf上传</a></span><span class="md-toc-item md-toc-h3" data-ref="c754"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c754">URL</a></span><span class="md-toc-item md-toc-h3" data-ref="c760"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c760">请求头说明</a></span><span class="md-toc-item md-toc-h3" data-ref="c774"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c774">请求体</a></span><span class="md-toc-item md-toc-h4" data-ref="c776"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c776">请求体说明</a></span><span class="md-toc-item md-toc-h3" data-ref="c860"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c860">返回值</a></span><span class="md-toc-item md-toc-h4" data-ref="c862"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c862">返回值说明</a></span><span class="md-toc-item md-toc-h2" data-ref="c947"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c947">5、查验并保存个人票夹</a></span><span class="md-toc-item md-toc-h3" data-ref="c948"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c948">URL</a></span><span class="md-toc-item md-toc-h4" data-ref="c954"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c954">请头说明</a></span><span class="md-toc-item md-toc-h3" data-ref="c968"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c968">请求体</a></span><span class="md-toc-item md-toc-h4" data-ref="c970"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c970">请求体说明</a></span><span class="md-toc-item md-toc-h3" data-ref="c1086"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1086">返回值</a></span><span class="md-toc-item md-toc-h3" data-ref="c1088"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1088">返回值说明</a></span><span class="md-toc-item md-toc-h2" data-ref="c1253"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1253">6、友报账发票查验</a></span><span class="md-toc-item md-toc-h3" data-ref="c1254"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1254">URL</a></span><span class="md-toc-item md-toc-h4" data-ref="c1260"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1260">请头说明</a></span><span class="md-toc-item md-toc-h3" data-ref="c1274"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1274">请求体</a></span><span class="md-toc-item md-toc-h4" data-ref="c1276"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1276">请求体说明</a></span><span class="md-toc-item md-toc-h3" data-ref="c1392"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1392">返回值</a></span><span class="md-toc-item md-toc-h3" data-ref="c1394"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1394">返回值说明</a></span><span class="md-toc-item md-toc-h2" data-ref="c1562"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1562"> </a></span><span class="md-toc-item md-toc-h2" data-ref="c1563"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1563">7、发票保存个人票夹</a></span><span class="md-toc-item md-toc-h3" data-ref="c1564"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1564">URL</a></span><span class="md-toc-item md-toc-h4" data-ref="c1570"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1570">请头说明</a></span><span class="md-toc-item md-toc-h3" data-ref="c1584"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1584">请求体</a></span><span class="md-toc-item md-toc-h4" data-ref="c1586"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1586">请求体说明</a></span><span class="md-toc-item md-toc-h3" data-ref="c1662"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1662">返回值</a></span><span class="md-toc-item md-toc-h4" data-ref="c1664"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1664">返回值说明</a></span><span class="md-toc-item md-toc-h2" data-ref="c1682"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1682"> </a></span><span class="md-toc-item md-toc-h2" data-ref="c1683"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1683">附录</a></span><span class="md-toc-item md-toc-h3" data-ref="c1684"><a class="md-toc-inner" style="cursor: pointer;" href="#header-c1684">状态码</a></span></p></div><h2><a name='header-c38' class='md-header-anchor '></a>1、个人发票查询</h2><blockquote><p>根据参数查询发票概要信息</p></blockquote><h3><a name='header-c42' class='md-header-anchor '></a>URL</h3><blockquote><p>POST
<code>`http://&lt;HOST&gt;:&lt;PORT&gt;/piaoeda-web/api/einvoice/query?appid=XXXXXX</code></p></blockquote><hr /><h3><a name='header-c48' class='md-header-anchor '></a>请求头说明</h3><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th style='text-align:right;' >类型</th><th style='text-align:center;' >是否必填</th><th>描述</th></tr></thead><tbody><tr><td style='text-align:left;' >sign</td><td style='text-align:right;' >String</td><td style='text-align:center;' >是</td><td>请求签名信息</td></tr></tbody></table></blockquote><hr /><h3><a name='header-c62' class='md-header-anchor '></a>请求体</h3><pre class="md-fences md-end-block" lang="json"> <div class="CodeMirror cm-s-inner CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 4px;"></div><div class="CodeMirror-hscrollbar" style="left: 0px;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-vscrollbar"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; min-height: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure">AخA</div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"><div class="CodeMirror-activeline" style="position: relative;"><div class="CodeMirror-activeline-background CodeMirror-linebackground"></div><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  {</span></pre></div><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"usermobile"</span>:<span class="cm-string">"12345678"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"useremail"</span>:<span class="cm-string">"aaa@a.com"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"purchaserstatus"</span>:[<span class="cm-number">33</span>,<span class="cm-number">36</span>,<span class="cm-number">39</span>],</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"classifications"</span>:[<span class="cm-string">"通讯"</span>,<span class="cm-string">"餐饮"</span>]</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"kprq_begin"</span>:<span class="cm-string">"2016-06-01"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"kprq_end"</span>:<span class="cm-string">"2016-07-01"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"jshj_min"</span>:<span class="cm-number">20.2</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"jshj_max"</span>:<span class="cm-number">30.5</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"gmfMc"</span>:[<span class="cm-string">"xxx"</span>,<span class="cm-string">"yyyy"</span>],</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"page"</span>:<span class="cm-number">0</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"size"</span>:<span class="cm-number">5</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"headfield"</span>:[</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"fpDm"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"fpHm"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"purchaserstatus"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"classification"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"kprq"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"fpMw"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"jym"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"xsfNsrsbh"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"xsfMc"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"xsfDzdh"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"xsfYhzh"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"gmfNsrsbh"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"gmfMc"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"gmfDzdh"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"gmfYhzh"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"kpr"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"skr"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"fhr"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"yfpDm"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"yfpHm"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"jshj"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"hjje"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"hjse"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string">"bz"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string">"fplx"</span></span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  ]</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; <span class="cm-string">"itemfield"</span>:[</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string">"xmmc"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string">"ggxh"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string">"dw"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string">"xmsl"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string">"xmdj"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string">"xmje"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string">"sl"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string">"se"</span></span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ] </span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  }</span></pre></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; top: 0px;"></div><div class="CodeMirror-gutters" style="display: none; height: 1150px;"></div></div></div></pre><h4><a name='header-c64' class='md-header-anchor '></a>请求体说明</h4><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th>类型</th><th style='text-align:center;' >长度</th><th style='text-align:center;' >是否必填</th><th style='text-align:center;' >默认值</th><th style='text-align:left;' >描述</th><th style='text-align:left;' >说明</th></tr></thead><tbody><tr><td style='text-align:left;' >usermobile</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >是</td><td style='text-align:center;' ></td><td style='text-align:left;' >手机号</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >useremail</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >邮箱</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >purchaserstatus</td><td>array</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >报销状态</td><td style='text-align:left;' >33-初始状态 36-报销中 39-已报销</td></tr><tr><td style='text-align:left;' >classifications</td><td>array</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >发票分类</td><td style='text-align:left;' >目前支持：&quot;交通&quot;,&quot;餐饮&quot;,&quot;通讯&quot;,&quot;其他&quot;</td></tr><tr><td style='text-align:left;' >kprq_begin</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >开始时间</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >kprq_end</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >结束时间</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >jshj_min</td><td>Double</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >最小金额</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >jshj_max</td><td>Double</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >最大金额</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >gmfMc</td><td>array</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >购买方名称</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >page</td><td>int</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' >1</td><td style='text-align:left;' >分页数据页码</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >size</td><td>int</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' >10</td><td style='text-align:left;' >每页数据量</td><td style='text-align:left;' ><strong>不超过50</strong></td></tr><tr><td style='text-align:left;' >headfield</td><td>arrray</td><td style='text-align:center;' ></td><td style='text-align:center;' >是</td><td style='text-align:center;' ></td><td style='text-align:left;' >发票头字段名</td><td style='text-align:left;' >调用时选择需要返回的字段</td></tr><tr><td style='text-align:left;' >itemfield</td><td>arrray</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >发票明细字段名</td><td style='text-align:left;' >调用时选择需要返回的字段</td></tr></tbody></table></blockquote><hr /><h3><a name='header-c180' class='md-header-anchor '></a>返回值</h3><pre class="md-fences md-end-block" lang="json"> <div class="CodeMirror cm-s-inner CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 4px;"></div><div class="CodeMirror-hscrollbar" style="left: 0px;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-vscrollbar"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; min-height: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"><div class="CodeMirror-activeline" style="position: relative;"><div class="CodeMirror-activeline-background CodeMirror-linebackground"></div><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  {</span></pre></div><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"code"</span>: <span class="cm-string">"0000"</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"msg"</span>: <span class="cm-string">"操作成功"</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"total"</span>:<span class="cm-number">5</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"datas"</span>: [</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp;  { </span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"invoice"</span>: {</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"0110xxxxxxx1"</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"xxxxxxx1"</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"purchaserstatus"</span>:<span class="cm-number">33</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"classification"</span>:<span class="cm-string">"通讯"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"kprq"</span>: <span class="cm-string">"2016-07-01"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpMw"</span>:<span class="cm-string">"15&lt;*026+848686"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"jym"</span>:<span class="cm-string">"57644233870940613901"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfNsrsbh"</span>:<span class="cm-string">"xxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfMc"</span>:<span class="cm-string">"江苏圆周电子商务有限公司北京分公司"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfDzdh"</span>:<span class="cm-string">"北京市海淀区北清路68号用友软件园2号楼3层 62434888"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfYhzh"</span>:<span class="cm-string">"11001048600052502301"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfNsrsbh"</span>:<span class="cm-string">"xxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfMc"</span>:<span class="cm-string">"北京某公司"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfDzdh"</span>:<span class="cm-string">"北京某公司地址电话"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfYhzh"</span>:<span class="cm-string">"北京某公司银行账号"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"kpr"</span>:<span class="cm-string">"开票人"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"skr"</span>:<span class="cm-string">"收款人"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fhr"</span>:<span class="cm-string">"复核人"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"yfpDm"</span>:<span class="cm-string">"xxxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"yfpHm"</span>:<span class="cm-string">"xxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"jshj"</span>: <span class="cm-number">5.0</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"hjje"</span>: <span class="cm-number">4.0</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"hjse"</span>: <span class="cm-number">1.0</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"kpr"</span>: <span class="cm-string">"Z000DZQD"</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"bz"</span>:<span class="cm-string">"备注"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="cm-string cm-property">"items"</span>: [</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmmc"</span>: <span class="cm-string">"笔记本"</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"ggxh"</span>: <span class="cm-string">"14寸"</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"dw"</span>: <span class="cm-string">"台"</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmsl"</span>: <span class="cm-number">1</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmdj"</span>: <span class="cm-number">4.8</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmje"</span>: <span class="cm-number">4.8</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"sl"</span>: <span class="cm-number">0.17</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"se"</span>: <span class="cm-number">0.82</span></span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ]</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp;  }, </span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp;  {</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"invoice"</span>: {</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"0110xxxxxxx1"</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"xxxxxxx1"</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"purchaserstatus"</span>:<span class="cm-number">36</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"classification"</span>:<span class="cm-string">"餐饮"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"kprq"</span>: <span class="cm-string">"2016-07-01"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpMw"</span>:<span class="cm-string">"15&lt;*026+848686"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"jym"</span>:<span class="cm-string">"57644233870940613901"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfNsrsbh"</span>:<span class="cm-string">"xxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfMc"</span>:<span class="cm-string">"江苏圆周电子商务有限公司北京分公司"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfDzdh"</span>:<span class="cm-string">"北京市海淀区北清路68号用友软件园2号楼3层 62434888"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfYhzh"</span>:<span class="cm-string">"11001048600052502301"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfNsrsbh"</span>:<span class="cm-string">"xxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfMc"</span>:<span class="cm-string">"北京某公司"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfDzdh"</span>:<span class="cm-string">"北京某公司地址电话"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfYhzh"</span>:<span class="cm-string">"北京某公司银行账号"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"kpr"</span>:<span class="cm-string">"开票人"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"skr"</span>:<span class="cm-string">"收款人"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fhr"</span>:<span class="cm-string">"复核人"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"yfpDm"</span>:<span class="cm-string">"xxxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"yfpHm"</span>:<span class="cm-string">"xxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"jshj"</span>: <span class="cm-number">5.0</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"hjje"</span>: <span class="cm-number">4.0</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"hjse"</span>: <span class="cm-number">1.0</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"kpr"</span>: <span class="cm-string">"Z000DZQD"</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"bz"</span>:<span class="cm-string">"备注"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="cm-string cm-property">"items"</span>: [</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmmc"</span>: <span class="cm-string">"笔记本"</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"ggxh"</span>: <span class="cm-string">"14寸"</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"dw"</span>: <span class="cm-string">"台"</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmsl"</span>: <span class="cm-number">1</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmdj"</span>: <span class="cm-number">4.8</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmje"</span>: <span class="cm-number">4.8</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"sl"</span>: <span class="cm-number">0.17</span>, </span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"se"</span>: <span class="cm-number">0.82</span></span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ]</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp; &nbsp; &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  ]</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  }</span></pre></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; top: 0px;"></div><div class="CodeMirror-gutters" style="display: none; height: 2041px;"></div></div></div></pre><h4><a name='header-c182' class='md-header-anchor '></a>返回值说明</h4><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th>类型</th><th style='text-align:left;' >描述</th><th style='text-align:left;' >说明</th></tr></thead><tbody><tr><td style='text-align:left;' >code</td><td>String</td><td style='text-align:left;' >状态码</td><td style='text-align:left;' >0000-操作成功<a href='#header-c1684'>详见状态码说明</a></td></tr><tr><td style='text-align:left;' >msg</td><td>String</td><td style='text-align:left;' >信息说明</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >total</td><td>int</td><td style='text-align:left;' >总条数</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >fpDm</td><td>String</td><td style='text-align:left;' >发票代码</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >fpHm</td><td>String</td><td style='text-align:left;' >发票号码</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >fplx</td><td>String</td><td style='text-align:left;' >发票类型</td><td style='text-align:left;' >1:增值税电子普通发票；3:增值税普通发票；4:增值税专用发票</td></tr><tr><td style='text-align:left;' >purchaserstatus</td><td>int</td><td style='text-align:left;' >报销状态</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >classification</td><td>String</td><td style='text-align:left;' >发票分类</td><td style='text-align:left;' >目前支持：&quot;交通&quot;,&quot;餐饮&quot;,&quot;通讯&quot;,&quot;其他&quot;</td></tr><tr><td style='text-align:left;' >kprq</td><td>String</td><td style='text-align:left;' >开票日期</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >fpMw</td><td>String</td><td style='text-align:left;' >发票密文</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >jym</td><td>String</td><td style='text-align:left;' >校验码</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >xsfNsrsbh</td><td>String</td><td style='text-align:left;' >销售方纳税人识别号</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >xsfMc</td><td>String</td><td style='text-align:left;' >销售方名称</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >xsfDzdh</td><td>String</td><td style='text-align:left;' >销售方地址电话</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >xsfYhzh</td><td>String</td><td style='text-align:left;' >销售方银行账号</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >gmfNsrsbh</td><td>String</td><td style='text-align:left;' >购买方纳税人识别号</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >gmfMc</td><td>String</td><td style='text-align:left;' >购买方名称</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >gmfDzdh</td><td>String</td><td style='text-align:left;' >购买方地址电话</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >gmfYhzh</td><td>String</td><td style='text-align:left;' >购买方银行账号</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >kpr</td><td>String</td><td style='text-align:left;' >开票人</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >skr</td><td>String</td><td style='text-align:left;' >收款人</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >fhr</td><td>String</td><td style='text-align:left;' >复核人</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >yfpDm</td><td>String</td><td style='text-align:left;' >原发票代码</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >yfpHm</td><td>String</td><td style='text-align:left;' >原发票号码</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >jshj</td><td>Double</td><td style='text-align:left;' >价税合计</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >hjje</td><td>Double</td><td style='text-align:left;' >合计金额</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >hjse</td><td>Double</td><td style='text-align:left;' >合计税额</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >bz</td><td>String</td><td style='text-align:left;' >备注</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >xmmc</td><td>String</td><td style='text-align:left;' >项目名称</td><td style='text-align:left;' >货物或应税劳务、服务名称</td></tr><tr><td style='text-align:left;' >ggxh</td><td>String</td><td style='text-align:left;' >规格型号</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >dw</td><td>String</td><td style='text-align:left;' >单位</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >xmsl</td><td>double</td><td style='text-align:left;' >数量</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >xmdj</td><td>double</td><td style='text-align:left;' >单价</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >xmje</td><td>double</td><td style='text-align:left;' >金额</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >sl</td><td>double</td><td style='text-align:left;' >税率</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >se</td><td>double</td><td style='text-align:left;' >税额</td><td style='text-align:left;' ></td></tr></tbody></table></blockquote><h2><a name='header-c370' class='md-header-anchor '></a>2、发票下载</h2><blockquote><p>下载发票，以pdf文件流Base64编码返回，一<strong>次下载不超过5张</strong></p></blockquote><h3><a name='header-c374' class='md-header-anchor '></a>URL</h3><blockquote><p>POST
<code>http://&lt;HOST&gt;:&lt;PORT&gt;/piaoeda-web/api/einvoice/download?appid=XXXXXX</code></p></blockquote><hr /><h3><a name='header-c380' class='md-header-anchor '></a>请求头说明</h3><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th style='text-align:right;' >类型</th><th style='text-align:center;' >是否必填</th><th>描述</th></tr></thead><tbody><tr><td style='text-align:left;' >sign</td><td style='text-align:right;' >String</td><td style='text-align:center;' >是</td><td>请求签名信息</td></tr></tbody></table></blockquote><hr /><h3><a name='header-c394' class='md-header-anchor '></a>请求体</h3><pre class="md-fences md-end-block" lang="json"> <div class="CodeMirror cm-s-inner CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 4px;"></div><div class="CodeMirror-hscrollbar" style="left: 0px;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-vscrollbar"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; min-height: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"><div class="CodeMirror-activeline" style="position: relative;"><div class="CodeMirror-activeline-background CodeMirror-linebackground"></div><pre class=""><span style="padding-right: 0.1px;">{</span></pre></div><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"usermobile"</span>: <span class="cm-string">"13888888888"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"useremail"</span>: <span class="cm-string">"aaa@a.com"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"hasDetail"</span>:<span class="cm-string">"Y"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"invoices"</span>: [</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"0110xxxxxxx1"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"xxxxxxx1"</span></span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  },</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"0110xxxxxxx2"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"xxxxxxx2"</span></span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  ]</span></pre><pre class=""><span style="padding-right: 0.1px;">}</span></pre></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; top: 0px;"></div><div class="CodeMirror-gutters" style="display: none; height: 336px;"></div></div></div></pre><h4><a name='header-c396' class='md-header-anchor '></a>请求体说明</h4><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th>类型</th><th style='text-align:center;' >长度</th><th style='text-align:center;' >是否必填</th><th style='text-align:center;' >默认值</th><th style='text-align:left;' >描述</th><th style='text-align:left;' >说明</th></tr></thead><tbody><tr><td style='text-align:left;' >usermobile</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >是</td><td style='text-align:center;' ></td><td style='text-align:left;' >手机号</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >useremail</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >邮箱</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >fpDm</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >是</td><td style='text-align:center;' ></td><td style='text-align:left;' >发票代码</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >fpHm</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >是</td><td style='text-align:center;' ></td><td style='text-align:left;' >发票号码</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >hasDetail</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' >N</td><td style='text-align:left;' >是否包含明细</td><td style='text-align:left;' >&quot;Y&quot;：包含，&quot;N&quot;:不包含</td></tr></tbody></table></blockquote><hr /><h3><a name='header-c448' class='md-header-anchor '></a>返回值</h3><pre class="md-fences md-end-block" lang="json"> <div class="CodeMirror cm-s-inner CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 4px;"></div><div class="CodeMirror-hscrollbar" style="left: 0px;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-vscrollbar"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; min-height: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"><div class="CodeMirror-activeline" style="position: relative;"><div class="CodeMirror-activeline-background CodeMirror-linebackground"></div><pre class=""><span style="padding-right: 0.1px;">{</span></pre></div><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"code"</span>: <span class="cm-string">"0000"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"msg"</span>: <span class="cm-string">"操作成功"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"datas"</span>: [</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fileName"</span>: <span class="cm-string">"xxxx.pdf"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"xxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"yyyyy"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"content"</span>: <span class="cm-string">"xxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"invoice"</span>: {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"0110xxxxxxx1"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"xxxxxxx1"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"purchaserstatus"</span>: <span class="cm-number">33</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"classification"</span>:<span class="cm-string">"餐饮"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"kprq"</span>: <span class="cm-string">"2016-07-01"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpMw"</span>: <span class="cm-string">"15&lt;*026+848686"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"jym"</span>: <span class="cm-string">"57644233870940613901"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfNsrsbh"</span>: <span class="cm-string">"xxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfMc"</span>: <span class="cm-string">"江苏圆周电子商务有限公司北京分公司"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfDzdh"</span>: <span class="cm-string">"北京市海淀区北清路68号用友软件园2号楼3层 62434888"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfYhzh"</span>: <span class="cm-string">"11001048600052502301"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfNsrsbh"</span>: <span class="cm-string">"xxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfMc"</span>: <span class="cm-string">"北京某公司"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfDzdh"</span>: <span class="cm-string">"北京某公司地址电话"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfYhzh"</span>: <span class="cm-string">"北京某公司银行账号"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"kpr"</span>: <span class="cm-string">"Z000DZQD"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"skr"</span>: <span class="cm-string">"收款人"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fhr"</span>: <span class="cm-string">"复核人"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"yfpDm"</span>: <span class="cm-string">"xxxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"yfpHm"</span>: <span class="cm-string">"xxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"jshj"</span>: <span class="cm-number">5</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"hjje"</span>: <span class="cm-number">4</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"hjse"</span>: <span class="cm-number">1</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"bz"</span>: <span class="cm-string">"备注"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"items"</span>: [</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmmc"</span>: <span class="cm-string">"笔记本"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"ggxh"</span>: <span class="cm-string">"14寸"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"dw"</span>: <span class="cm-string">"台"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmsl"</span>: <span class="cm-number">1</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmdj"</span>: <span class="cm-number">4.8</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmje"</span>: <span class="cm-number">4.8</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"sl"</span>: <span class="cm-number">0.17</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"se"</span>: <span class="cm-number">0.82</span></span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ]</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  },</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fileName"</span>: <span class="cm-string">"xxxx.pdf"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"xxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"yyyyy"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"content"</span>: <span class="cm-string">"xxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"invoice"</span>: {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"0110xxxxxxx1"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"xxxxxxx1"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"purchaserstatus"</span>: <span class="cm-number">33</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"classification"</span>:<span class="cm-string">"通讯"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"kprq"</span>: <span class="cm-string">"2016-07-01"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpMw"</span>: <span class="cm-string">"15&lt;*026+848686"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"jym"</span>: <span class="cm-string">"57644233870940613901"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfNsrsbh"</span>: <span class="cm-string">"xxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfMc"</span>: <span class="cm-string">"江苏圆周电子商务有限公司北京分公司"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfDzdh"</span>: <span class="cm-string">"北京市海淀区北清路68号用友软件园2号楼3层 62434888"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfYhzh"</span>: <span class="cm-string">"11001048600052502301"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfNsrsbh"</span>: <span class="cm-string">"xxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfMc"</span>: <span class="cm-string">"北京某公司"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfDzdh"</span>: <span class="cm-string">"北京某公司地址电话"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfYhzh"</span>: <span class="cm-string">"北京某公司银行账号"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"kpr"</span>: <span class="cm-string">"Z000DZQD"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"skr"</span>: <span class="cm-string">"收款人"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fhr"</span>: <span class="cm-string">"复核人"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"yfpDm"</span>: <span class="cm-string">"xxxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"yfpHm"</span>: <span class="cm-string">"xxxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"jshj"</span>: <span class="cm-number">5</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"hjje"</span>: <span class="cm-number">4</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"hjse"</span>: <span class="cm-number">1</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"bz"</span>: <span class="cm-string">"备注"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"items"</span>: [</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmmc"</span>: <span class="cm-string">"笔记本"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"ggxh"</span>: <span class="cm-string">"14寸"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"dw"</span>: <span class="cm-string">"台"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmsl"</span>: <span class="cm-number">1</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmdj"</span>: <span class="cm-number">4.8</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xmje"</span>: <span class="cm-number">4.8</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"sl"</span>: <span class="cm-number">0.17</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"se"</span>: <span class="cm-number">0.82</span></span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ]</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  ]</span></pre><pre class=""><span style="padding-right: 0.1px;">}</span></pre></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; top: 0px;"></div><div class="CodeMirror-gutters" style="display: none; height: 2106px;"></div></div></div></pre><h4><a name='header-c450' class='md-header-anchor '></a>返回值说明</h4><blockquote><table><thead><tr><th>参数</th><th>类型</th><th>描述</th><th>说明</th></tr></thead><tbody><tr><td>code</td><td>String</td><td>状态码</td><td>0000-操作成功;1002-数据不存在;<a href='#header-c1684'>详见状态码说明</a></td></tr><tr><td>msg</td><td>String</td><td>信息说明</td><td></td></tr><tr><td>fileName</td><td>String</td><td>发票文件名</td><td>发票代码+发票号码.pdf</td></tr><tr><td>content</td><td>String</td><td>对应发票文件</td><td>通过Base64编码字节流，转换为字符串</td></tr><tr><td>fpDm</td><td>String</td><td>发票代码</td><td></td></tr><tr><td>fpHm</td><td>String</td><td>发票号码</td><td></td></tr><tr><td>purchaserstatus</td><td>int</td><td>报销状态</td><td></td></tr><tr><td>classification</td><td>String</td><td>发票分类</td><td>目前支持：&quot;交通&quot;,&quot;餐饮&quot;,&quot;通讯&quot;,&quot;其他&quot;</td></tr><tr><td>kprq</td><td>String</td><td>开票日期</td><td></td></tr><tr><td>fpMw</td><td>String</td><td>发票密文</td><td></td></tr><tr><td>jym</td><td>String</td><td>校验码</td><td></td></tr><tr><td>xsfNsrsbh</td><td>String</td><td>销售方纳税人识别号</td><td></td></tr><tr><td>xsfMc</td><td>String</td><td>销售方名称</td><td></td></tr><tr><td>xsfDzdh</td><td>String</td><td>销售方地址电话</td><td></td></tr><tr><td>xsfYhzh</td><td>String</td><td>销售方银行账号</td><td></td></tr><tr><td>gmfNsrsbh</td><td>String</td><td>购买方纳税人识别号</td><td></td></tr><tr><td>gmfMc</td><td>String</td><td>购买方名称</td><td></td></tr><tr><td>gmfDzdh</td><td>String</td><td>购买方地址电话</td><td></td></tr><tr><td>gmfYhzh</td><td>String</td><td>购买方银行账号</td><td></td></tr><tr><td>kpr</td><td>String</td><td>开票人</td><td></td></tr><tr><td>skr</td><td>String</td><td>收款人</td><td></td></tr><tr><td>fhr</td><td>String</td><td>复核人</td><td></td></tr><tr><td>yfpDm</td><td>String</td><td>原发票代码</td><td></td></tr><tr><td>yfpHm</td><td>String</td><td>原发票号码</td><td></td></tr><tr><td>jshj</td><td>Double</td><td>价税合计</td><td></td></tr><tr><td>hjje</td><td>Double</td><td>合计金额</td><td></td></tr><tr><td>hjse</td><td>Double</td><td>合计税额</td><td></td></tr><tr><td>bz</td><td>String</td><td>备注</td><td></td></tr><tr><td>xmmc</td><td>String</td><td>项目名称</td><td>货物或应税劳务、服务名称</td></tr><tr><td>ggxh</td><td>String</td><td>规格型号</td><td></td></tr><tr><td>dw</td><td>String</td><td>单位</td><td></td></tr><tr><td>xmsl</td><td>double</td><td>数量</td><td></td></tr><tr><td>xmdj</td><td>double</td><td>单价</td><td></td></tr><tr><td>xmje</td><td>double</td><td>金额</td><td></td></tr><tr><td>sl</td><td>double</td><td>税率</td><td></td></tr><tr><td>se</td><td>double</td><td>税额</td><td></td></tr></tbody></table></blockquote><h2><a name='header-c638' class='md-header-anchor '></a> </h2><p></p><h2><a name='header-c641' class='md-header-anchor '></a>3、发票删除</h2><blockquote><p>删除对应的电子发票，会同步删除</p></blockquote><h3><a name='header-c645' class='md-header-anchor '></a>URL</h3><blockquote><p>POST{
<code>http://&lt;HOST&gt;:&lt;PORT&gt;/piaoeda-web/api/einvoice/ybz/delete?appid=XXXXX</code></p></blockquote><hr /><h3><a name='header-c651' class='md-header-anchor '></a>请求头说明</h3><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th style='text-align:right;' >类型</th><th style='text-align:center;' >是否必填</th><th>描述</th></tr></thead><tbody><tr><td style='text-align:left;' >sign</td><td style='text-align:right;' >String</td><td style='text-align:center;' >是</td><td>请求签名信息</td></tr></tbody></table></blockquote><hr /><h3><a name='header-c665' class='md-header-anchor '></a>请求体</h3><pre class="md-fences md-end-block" lang="json"> <div class="CodeMirror cm-s-inner CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 4px;"></div><div class="CodeMirror-hscrollbar" style="left: 0px;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-vscrollbar"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; min-height: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"><div class="CodeMirror-activeline" style="position: relative;"><div class="CodeMirror-activeline-background CodeMirror-linebackground"></div><pre class=""><span style="padding-right: 0.1px;">{</span></pre></div><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"usermobile"</span>: <span class="cm-string">"13888888888"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"useremail"</span>: <span class="cm-string">"aaa@a.com"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"nsrsbh"</span>: <span class="cm-string">"1231231111111"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"orgcode"</span>: <span class="cm-string">"3123"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"invoices"</span>: [</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"0110xxxxxxx1"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"xxxxxxx1"</span></span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  },</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"0110xxxxxxx2"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"xxxxxxx2"</span></span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  ]</span></pre><pre class=""><span style="padding-right: 0.1px;">}</span></pre></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; top: 0px;"></div><div class="CodeMirror-gutters" style="display: none; height: 358px;"></div></div></div></pre><h4><a name='header-c667' class='md-header-anchor '></a>请求体说明</h4><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th>类型</th><th style='text-align:center;' >长度</th><th style='text-align:center;' >是否必填</th><th style='text-align:center;' >默认值</th><th style='text-align:left;' >描述</th><th style='text-align:left;' >说明</th></tr></thead><tbody><tr><td style='text-align:left;' >fpDm</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >是</td><td style='text-align:center;' ></td><td style='text-align:left;' >发票代码</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >fpHm</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >是</td><td style='text-align:center;' ></td><td style='text-align:left;' >发票号码</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >usermobile</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >用户手机</td><td style='text-align:left;' >用户手机、用户邮箱至少一个不为空</td></tr><tr><td style='text-align:left;' >useremail</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >用户邮箱</td><td style='text-align:left;' >用户手机、用户邮箱至少一个不为空</td></tr><tr><td style='text-align:left;' >nsrsbh</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >是</td><td style='text-align:center;' ></td><td style='text-align:left;' >纳税人识别号</td><td style='text-align:left;' >受票企业纳税人识别号;<font color=red>纳税人识别号与组织编码至少传入一项</font></td></tr><tr><td style='text-align:left;' >orgcode</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >组织编码</td><td style='text-align:left;' ><font color=red>纳税人识别号与组织编码至少传入一项</font></td></tr></tbody></table></blockquote><hr /><h3><a name='header-c727' class='md-header-anchor '></a>返回值</h3><pre class="md-fences md-end-block" lang="json"> <div class="CodeMirror cm-s-inner CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 4px;"></div><div class="CodeMirror-hscrollbar" style="left: 0px;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-vscrollbar"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; min-height: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"><div class="CodeMirror-activeline" style="position: relative;"><div class="CodeMirror-activeline-background CodeMirror-linebackground"></div><pre class=""><span style="padding-right: 0.1px;">{</span></pre></div><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"code"</span>: <span class="cm-string">"0000"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"msg"</span>: <span class="cm-string">"操作成功"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;">}</span></pre></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; top: 0px;"></div><div class="CodeMirror-gutters" style="display: none; height: 90px;"></div></div></div></pre><h4><a name='header-c729' class='md-header-anchor '></a>返回值说明</h4><blockquote><table><thead><tr><th>参数</th><th>类型</th><th>描述</th><th>说明</th></tr></thead><tbody><tr><td>code</td><td>String</td><td>状态吗</td><td>0000-操作成功;1002-数据不存在;<a href='#header-c1684'>详见状态码说明</a></td></tr><tr><td>msg</td><td>String</td><td>信息说明</td><td></td></tr></tbody></table></blockquote><hr /><p></p><h2><a name='header-c750' class='md-header-anchor '></a>4、发票pdf上传</h2><blockquote><p>包含发票解析</p></blockquote><h3><a name='header-c754' class='md-header-anchor '></a>URL</h3><blockquote><p>POST{
<code>http://&lt;HOST&gt;:&lt;PORT&gt;/piaoeda-web/api/einvoice/ybz/uploadpdf?appid=XXXXX</code></p></blockquote><hr /><h3><a name='header-c760' class='md-header-anchor '></a>请求头说明</h3><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th style='text-align:right;' >类型</th><th style='text-align:center;' >是否必填</th><th>描述</th></tr></thead><tbody><tr><td style='text-align:left;' >sign</td><td style='text-align:right;' >String</td><td style='text-align:center;' >是</td><td>请求签名信息</td></tr></tbody></table></blockquote><hr /><h3><a name='header-c774' class='md-header-anchor '></a>请求体</h3><pre class="md-fences md-end-block" lang="json"> <div class="CodeMirror cm-s-inner CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 4px;"></div><div class="CodeMirror-hscrollbar" style="left: 0px;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-vscrollbar"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; min-height: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"><div class="CodeMirror-activeline" style="position: relative;"><div class="CodeMirror-activeline-background CodeMirror-linebackground"></div><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  {</span></pre></div><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"useremail"</span> : <span class="cm-string">"yy@yy.com"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"usermobile"</span> : <span class="cm-string">"13311111111"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp;  <span class="cm-tab">  </span><span class="cm-string cm-property">"nsrsbh"</span>:<span class="cm-string">"101011111111111"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp;  <span class="cm-tab">  </span><span class="cm-string cm-property">"orgcode"</span>:<span class="cm-string">"321"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"pdfFiles"</span> : [</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  {</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"srcBillType"</span> : <span class="cm-string">"来源业务系统"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"srcBillCode"</span> : <span class="cm-string">"业务系统单据号"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"fileName"</span> : <span class="cm-string">"通信费1.pdf"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"content"</span> : <span class="cm-string">"XXXXXXXXXXXXXXXXXXX1"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"classification"</span>:<span class="cm-string">"通讯"</span></span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  },</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  {</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"srcBillType"</span> : <span class="cm-string">"来源业务系统"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"srcBillCode"</span> : <span class="cm-string">"业务系统单据号"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"fileName"</span> : <span class="cm-string">"通信费2.pdf"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"content"</span> : <span class="cm-string">"XXXXXXXXXXXXXXXXXXX2"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  <span class="cm-string cm-property">"classification"</span>:<span class="cm-string">"通讯"</span></span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span> &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span> &nbsp;  ]</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  }</span></pre></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; top: 0px;"></div><div class="CodeMirror-gutters" style="display: none; height: 509px;"></div></div></div></pre><h4><a name='header-c776' class='md-header-anchor '></a>请求体说明</h4><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th>类型</th><th style='text-align:center;' >长度</th><th style='text-align:center;' >是否必填</th><th style='text-align:center;' >默认值</th><th style='text-align:left;' >描述</th><th style='text-align:left;' >说明</th></tr></thead><tbody><tr><td style='text-align:left;' >useremail</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >用户邮箱</td><td style='text-align:left;' >手机号、邮箱不能都为空</td></tr><tr><td style='text-align:left;' >usermobile</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >用户手机号</td><td style='text-align:left;' >手机号、邮箱不能都为空</td></tr><tr><td style='text-align:left;' >fileName</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >是</td><td style='text-align:center;' ></td><td style='text-align:left;' >发票文件名</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >content</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >是</td><td style='text-align:center;' ></td><td style='text-align:left;' >对应发票文件</td><td style='text-align:left;' >通过Base64编码字节流，转换为字符串</td></tr><tr><td style='text-align:left;' >classification</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >发票分类</td><td style='text-align:left;' >设置发票分类,为空自动解析；目前支持：”交通”,”餐饮”,”通讯”,”其他”</td></tr><tr><td style='text-align:left;' >nsrsbh</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >是</td><td style='text-align:center;' ></td><td style='text-align:left;' >纳税人识别号</td><td style='text-align:left;' >受票企业纳税人识别号;<font color=red>纳税人识别号与组织编码至少传入一项</font></td></tr><tr><td style='text-align:left;' >orgcode</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >组织编码</td><td style='text-align:left;' >受票方企业在发票平台的组织编码<font color=red>纳税人识别号与组织编码至少传入一项</font></td></tr><tr><td style='text-align:left;' >srcBillType</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >来源业务系统</td><td style='text-align:left;' ></td></tr><tr><td style='text-align:left;' >srcBillCode</td><td>String</td><td style='text-align:center;' ></td><td style='text-align:center;' >否</td><td style='text-align:center;' ></td><td style='text-align:left;' >业务系统单据号</td><td style='text-align:left;' ></td></tr></tbody></table></blockquote><hr /><h3><a name='header-c860' class='md-header-anchor '></a>返回值</h3><pre class="md-fences md-end-block" lang="json"> <div class="CodeMirror cm-s-inner CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 4px;"></div><div class="CodeMirror-hscrollbar" style="left: 0px;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-vscrollbar"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; min-height: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"><div class="CodeMirror-activeline" style="position: relative;"><div class="CodeMirror-activeline-background CodeMirror-linebackground"></div><pre class=""><span style="padding-right: 0.1px;">{</span></pre></div><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"code"</span>: <span class="cm-string">"0000"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"msg"</span>: <span class="cm-string">"操作成功"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"datas"</span>: [</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fileName"</span>: <span class="cm-string">"通信费1.pdf"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"invoice"</span>: {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"0110xxxxxxx1"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"xxxxxxx1"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"classification"</span>: <span class="cm-string">"通讯"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfMc"</span>: <span class="cm-string">"梁XX"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"hjje"</span>: <span class="cm-number">4.8</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"jshj"</span>: <span class="cm-number">4.8</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"kpr"</span>: <span class="cm-string">"Z000DZQD"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"kprq"</span>: <span class="cm-string">"2016-07-01"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfDzdh"</span>: <span class="cm-string">"北京市西城区复兴门南大街6号,66155074"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfMc"</span>: <span class="cm-string">"中国联合网络通信有限公司北京市分公司"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfNsrsbh"</span>: <span class="cm-string">"110102801657272"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"bz"</span>: <span class="cm-string">"订单012313"</span></span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  },</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fileName"</span>: <span class="cm-string">"通信费2.pdf"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"invoice"</span>: {</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"0110xxxxxxx2"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"xxxxxxx2"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"classification"</span>: <span class="cm-string">"通讯"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"gmfMc"</span>: <span class="cm-string">"梁XX"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"hjje"</span>: <span class="cm-number">4.8</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"jshj"</span>: <span class="cm-number">4.8</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"kpr"</span>: <span class="cm-string">"Z000DZQD"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"kprq"</span>: <span class="cm-string">"2016-07-01"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfDzdh"</span>: <span class="cm-string">"北京市西城区复兴门南大街6号,66155074"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfMc"</span>: <span class="cm-string">"中国联合网络通信有限公司北京市分公司"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"xsfNsrsbh"</span>: <span class="cm-string">"110102801657272"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <span class="cm-string cm-property">"bz"</span>: <span class="cm-string">"订单012314"</span></span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  }</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  ]</span></pre><pre class=""><span style="padding-right: 0.1px;">}</span></pre></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; top: 0px;"></div><div class="CodeMirror-gutters" style="display: none; height: 896px;"></div></div></div></pre><h4><a name='header-c862' class='md-header-anchor '></a>返回值说明</h4><blockquote><table><thead><tr><th>参数</th><th>类型</th><th>描述</th><th>说明</th></tr></thead><tbody><tr><td>code</td><td>code</td><td>状态码</td><td>0000-操作成功;1001-数据不合法;<a href='#header-c1684'>详见状态码说明</a></td></tr><tr><td>msg</td><td>String</td><td>信息说明</td><td></td></tr><tr><td>fileName</td><td>String</td><td>文件名</td><td></td></tr><tr><td>fpDm</td><td>String</td><td>发票代码</td><td></td></tr><tr><td>fpHm</td><td>String</td><td>发票号码</td><td></td></tr><tr><td>classification</td><td>String</td><td>发票分类</td><td>目前支持：”交通”,”餐饮”,”通讯”,”其他”</td></tr><tr><td>gmfMc</td><td>String</td><td>购买方名称</td><td></td></tr><tr><td>hjje</td><td>double</td><td>合计金额</td><td></td></tr><tr><td>jshj</td><td>double</td><td>价税合计</td><td></td></tr><tr><td>kpr</td><td>String</td><td>开票人</td><td></td></tr><tr><td>kprq</td><td>String</td><td>开票日期</td><td></td></tr><tr><td>xsfDzdh</td><td>String</td><td>销售方地址电话</td><td></td></tr><tr><td>xsfMc</td><td>String</td><td>销售方名称</td><td></td></tr><tr><td>xsfNsrsbh</td><td>String</td><td>销售方纳税人识别号</td><td></td></tr><tr><td>bz</td><td>String</td><td>备注</td><td></td></tr></tbody></table></blockquote><p></p><h2><a name='header-c947' class='md-header-anchor '></a>5、查验并保存个人票夹</h2><h3><a name='header-c948' class='md-header-anchor '></a>URL</h3><blockquote><p>POST
http://<HOST>:<PORT>/piaoeda-web/api/invoice/ybz/verify_and_submit?appid=XXXXX</p></blockquote><hr /><h4><a name='header-c954' class='md-header-anchor '></a>请头说明</h4><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th>类型</th><th style='text-align:left;' >是否必填</th><th style='text-align:left;' >说明</th></tr></thead><tbody><tr><td style='text-align:left;' >sign</td><td>String</td><td style='text-align:left;' >是</td><td style='text-align:left;' >请求签名信息</td></tr></tbody></table></blockquote><hr /><h3><a name='header-c968' class='md-header-anchor '></a>请求体</h3><pre class="md-fences md-end-block" lang="json"> <div class="CodeMirror cm-s-inner CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 4px;"></div><div class="CodeMirror-hscrollbar" style="left: 0px;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-vscrollbar"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; min-height: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"><span><span>​</span>x</span></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"><div class="CodeMirror-activeline" style="position: relative;"><div class="CodeMirror-activeline-background CodeMirror-linebackground"></div><pre class=""><span style="padding-right: 0.1px;"> </span></pre></div><pre class=""><span style="padding-right: 0.1px;">{</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"useremail"</span>: <span class="cm-string">"yy@yy.com"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"usermobile"</span>: <span class="cm-string">"13311111111"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"orgCode"</span>: <span class="cm-string">""</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"nsrsbh"</span>: <span class="cm-string">""</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"invoices"</span>: [{</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"1100154320"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"25045336"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"kprq"</span>: <span class="cm-string">"20161010"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"hjje"</span>: <span class="cm-number">100.00</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"jshj"</span>: <span class="cm-number">106.00</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"jym"</span>: <span class="cm-string">"10221376566424011310"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"srcBillType"</span>: <span class="cm-string">"来源业务系统"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"srcBillCode"</span>: <span class="cm-string">"业务系统单据号"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"srcapp"</span>: <span class="cm-string">""</span></span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span>},</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span>{</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"1100154320"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"25045336"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"kprq"</span>: <span class="cm-string">"20161010"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"hjje"</span>: <span class="cm-number">100.00</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"jshj"</span>: <span class="cm-number">106.00</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"jym"</span>: <span class="cm-string">"10221376566424011310"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"srcBillType"</span>: <span class="cm-string">"来源业务系统"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"srcBillCode"</span>: <span class="cm-string">"业务系统单据号"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"srcapp"</span>: <span class="cm-string">""</span></span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span>}</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span>]</span></pre><pre class=""><span style="padding-right: 0.1px;"><span>​</span></span></pre><pre class=""><span style="padding-right: 0.1px;">}</span></pre></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; top: 0px;"></div><div class="CodeMirror-gutters" style="display: none; height: 716px;"></div></div></div></pre><h4><a name='header-c970' class='md-header-anchor '></a>请求体说明</h4><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th>类型</th><th style='text-align:left;' >长度值</th><th style='text-align:left;' >是否必填</th><th style='text-align:left;' >默认值</th><th>描述</th><th>说明</th></tr></thead><tbody><tr><td style='text-align:left;' >useremail</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >否</td><td style='text-align:left;' ></td><td>用户邮箱</td><td>手机号、邮箱不能都为空</td></tr><tr><td style='text-align:left;' >usermobile</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >否</td><td style='text-align:left;' ></td><td>用户手机号</td><td>手机号、邮箱不能都为空</td></tr><tr><td style='text-align:left;' >orgCode</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>组织编码</td><td></td></tr><tr><td style='text-align:left;' >nsrsbh</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>纳税人识别号</td><td></td></tr><tr><td style='text-align:left;' >fpDm</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>发票代码</td><td></td></tr><tr><td style='text-align:left;' >fpHm</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>发票号码</td><td></td></tr><tr><td style='text-align:left;' >kprq</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>开票日期</td><td></td></tr><tr><td style='text-align:left;' >hjje</td><td>Double</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>合计金额</td><td></td></tr><tr><td style='text-align:left;' >jshj</td><td>Double</td><td style='text-align:left;' ></td><td style='text-align:left;' >否</td><td style='text-align:left;' ></td><td>价税合计</td><td></td></tr><tr><td style='text-align:left;' >jym</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>校验码</td><td></td></tr><tr><td style='text-align:left;' >srcapp</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >否</td><td style='text-align:left;' ></td><td>来源应用</td><td></td></tr><tr><td style='text-align:left;' >srcBillType</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >否</td><td style='text-align:left;' ></td><td>来源业务系统</td><td></td></tr><tr><td style='text-align:left;' >srcBillCode</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >否</td><td style='text-align:left;' ></td><td>业务系统单据号</td><td></td></tr></tbody></table></blockquote><hr /><h3><a name='header-c1086' class='md-header-anchor '></a>返回值</h3><pre class="md-fences md-end-block" lang="json"> <div class="CodeMirror cm-s-inner CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 4px;"></div><div class="CodeMirror-hscrollbar" style="left: 0px;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-vscrollbar"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; min-height: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"><div class="CodeMirror-activeline" style="position: relative;"><div class="CodeMirror-activeline-background CodeMirror-linebackground"></div><pre class=""><span style="padding-right: 0.1px;">{</span></pre></div><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"code"</span>: <span class="cm-string">"0000"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"msg"</span>: <span class="cm-string">"操作成功"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"datas"</span>: [{</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"code"</span>: <span class="cm-string">"3001"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"msg"</span>: <span class="cm-string">"发票已经存在,发票代码:330xxxx,发票号码:100xxx的状态为报销中!"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"330xxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"100xxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"invoice"</span>: {</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"bz"</span>: <span class="cm-string">"备注"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fhr"</span>: <span class="cm-atom">null</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"330xxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"100xxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpMw"</span>: <span class="cm-atom">null</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fplx"</span>: <span class="cm-string">"4"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpjz"</span>: <span class="cm-string">"1"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"zfbz"</span>: <span class="cm-string">"N"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"gmfDzdh"</span>: <span class="cm-string">"北京 11xxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"gmfMc"</span>: <span class="cm-string">"购买方名称"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"gmfNsrsbh"</span>: <span class="cm-string">"11xxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"gmfYhzh"</span>: <span class="cm-string">"中国工商银行11xxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"hjje"</span>: <span class="cm-number">1419273.96</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"hjse"</span>: <span class="cm-number">241276.57</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"jshj"</span>: <span class="cm-number">1660550.53</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"jym"</span>: <span class="cm-string">"5277xxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"kpr"</span>: <span class="cm-atom">null</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"kprq"</span>: <span class="cm-string">"20171026"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"skr"</span>: <span class="cm-atom">null</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xsfDzdh"</span>: <span class="cm-string">"浙江 11111"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xsfMc"</span>: <span class="cm-string">"浙江"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xsfNsrsbh"</span>: <span class="cm-string">"12345"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xsfYhzh"</span>: <span class="cm-string">"工商银行40002993"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"hasExist"</span>: <span class="cm-atom">false</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"items"</span>: [{</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"dw"</span>: <span class="cm-string">"千瓦时"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"ggxh"</span>: <span class="cm-string">""</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"se"</span>: <span class="cm-number">241276.57</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"sl"</span>: <span class="cm-number">17</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xmdj"</span>: <span class="cm-number">0.755811788209566</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xmje"</span>: <span class="cm-number">1419273.96</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xmmc"</span>: <span class="cm-string">"电力"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xmsl"</span>: <span class="cm-number">1877814</span></span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span>}]</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span>}</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span>}]</span></pre><pre class=""><span style="padding-right: 0.1px;">}</span></pre></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; top: 0px;"></div><div class="CodeMirror-gutters" style="display: none; height: 1066px;"></div></div></div></pre><h3><a name='header-c1088' class='md-header-anchor '></a>返回值说明</h3><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th>类型</th><th style='text-align:center;' >描述</th><th style='text-align:center;' >说明</th></tr></thead><tbody><tr><td style='text-align:left;' >code</td><td>String</td><td style='text-align:center;' >状态码</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >msg</td><td>String</td><td style='text-align:center;' >状态说明</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >fpDm</td><td>String</td><td style='text-align:center;' >发票代码</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >fpHm</td><td>String</td><td style='text-align:center;' >发票号码</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >fplx</td><td>String</td><td style='text-align:center;' >发票类型</td><td style='text-align:center;' >1:增值税电子普通发票；3:增值税普通发票；4:增值税专用发票</td></tr><tr><td style='text-align:left;' >fpjz</td><td>String</td><td style='text-align:center;' >发票介质</td><td style='text-align:center;' >0:电子发票1:纸质发票</td></tr><tr><td style='text-align:left;' >fhr</td><td>String</td><td style='text-align:center;' >复核人</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xsfMc</td><td>String</td><td style='text-align:center;' >销售方名称</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xsfNsrsbh</td><td>String</td><td style='text-align:center;' >销售方纳税人识别号</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xsfYhzh</td><td>String</td><td style='text-align:center;' >销售方银行账号</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xsfDzdh</td><td>String</td><td style='text-align:center;' >销售方地址电话</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >gmfMc</td><td>String</td><td style='text-align:center;' >购买方名称</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >gmfNsrsbh</td><td>String</td><td style='text-align:center;' >购买方纳税人识别号</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >gmfDzdh</td><td>String</td><td style='text-align:center;' >购买方地址电话</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >gmfYhzh</td><td>String</td><td style='text-align:center;' >购买方银行账号</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >jym</td><td>String</td><td style='text-align:center;' >发票校验码</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >jqbh</td><td>String</td><td style='text-align:center;' >机器编号</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >hjse</td><td>double</td><td style='text-align:center;' >合计税额</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >jshj</td><td>double</td><td style='text-align:center;' >价税合计</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >hjje</td><td>double</td><td style='text-align:center;' >合计金额</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >zfbz</td><td>String</td><td style='text-align:center;' >作废标志</td><td style='text-align:center;' >Y:已作废；N:未作废</td></tr><tr><td style='text-align:left;' >bz</td><td>String</td><td style='text-align:center;' >备注</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xmmc</td><td>String</td><td style='text-align:center;' >项目名称</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >ggxh</td><td>String</td><td style='text-align:center;' >规格型号</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >dw</td><td>String</td><td style='text-align:center;' >计量单位</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xmsl</td><td>double</td><td style='text-align:center;' >项目数量</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xmdj</td><td>double</td><td style='text-align:center;' >项目单价</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xmje</td><td>double</td><td style='text-align:center;' >项目金额</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xmjshj</td><td>double</td><td style='text-align:center;' >项目价税合计</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >sl</td><td>double</td><td style='text-align:center;' >项目税率</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >se</td><td>double</td><td style='text-align:center;' >项目税额</td><td style='text-align:center;' ></td></tr></tbody></table></blockquote><p></p><h2><a name='header-c1253' class='md-header-anchor '></a>6、友报账发票查验</h2><h3><a name='header-c1254' class='md-header-anchor '></a>URL</h3><blockquote><p>POST
http://<HOST>:<PORT>/piaoeda-web/api/invoice/ybz/verify?appid=XXXXX</p></blockquote><hr /><h4><a name='header-c1260' class='md-header-anchor '></a>请头说明</h4><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th>类型</th><th style='text-align:left;' >是否必填</th><th style='text-align:left;' >说明</th></tr></thead><tbody><tr><td style='text-align:left;' >sign</td><td>String</td><td style='text-align:left;' >是</td><td style='text-align:left;' >请求签名信息</td></tr></tbody></table></blockquote><hr /><h3><a name='header-c1274' class='md-header-anchor '></a>请求体</h3><pre class="md-fences md-end-block" lang="json"> <div class="CodeMirror cm-s-inner CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 4px;"></div><div class="CodeMirror-hscrollbar" style="left: 0px;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-vscrollbar"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; min-height: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"><div class="CodeMirror-activeline" style="position: relative;"><div class="CodeMirror-activeline-background CodeMirror-linebackground"></div><pre class=""><span style="padding-right: 0.1px;"> </span></pre></div><pre class=""><span style="padding-right: 0.1px;">{</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"useremail"</span>: <span class="cm-string">"yy@yy.com"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"usermobile"</span>: <span class="cm-string">"13311111111"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"orgCode"</span>: <span class="cm-string">""</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"nsrsbh"</span>: <span class="cm-string">""</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"invoices"</span>: [{</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"1100154320"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"25045336"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"kprq"</span>: <span class="cm-string">"20161010"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"hjje"</span>: <span class="cm-number">100.00</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"jshj"</span>: <span class="cm-number">106.00</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"jym"</span>: <span class="cm-string">"10221376566424011310"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"srcBillType"</span>: <span class="cm-string">"来源业务系统"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"srcBillCode"</span>: <span class="cm-string">"业务系统单据号"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"srcapp"</span>: <span class="cm-string">""</span></span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span>},</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span>{</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"1100154320"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"25045336"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"kprq"</span>: <span class="cm-string">"20161010"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"hjje"</span>: <span class="cm-number">100.00</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"jshj"</span>: <span class="cm-number">106.00</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"jym"</span>: <span class="cm-string">"10221376566424011310"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"srcBillType"</span>: <span class="cm-string">"来源业务系统"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"srcBillCode"</span>: <span class="cm-string">"业务系统单据号"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"srcapp"</span>: <span class="cm-string">""</span></span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span>}</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span>]</span></pre><pre class=""><span style="padding-right: 0.1px;"><span>​</span></span></pre><pre class=""><span style="padding-right: 0.1px;">}</span></pre></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; top: 0px;"></div><div class="CodeMirror-gutters" style="display: none; height: 716px;"></div></div></div></pre><h4><a name='header-c1276' class='md-header-anchor '></a>请求体说明</h4><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th>类型</th><th style='text-align:left;' >长度值</th><th style='text-align:left;' >是否必填</th><th style='text-align:left;' >默认值</th><th>描述</th><th>说明</th></tr></thead><tbody><tr><td style='text-align:left;' >useremail</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >否</td><td style='text-align:left;' ></td><td>用户邮箱</td><td>手机号、邮箱不能都为空</td></tr><tr><td style='text-align:left;' >usermobile</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >否</td><td style='text-align:left;' ></td><td>用户手机号</td><td>手机号、邮箱不能都为空</td></tr><tr><td style='text-align:left;' >orgCode</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>组织编码</td><td></td></tr><tr><td style='text-align:left;' >nsrsbh</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>纳税人识别号</td><td></td></tr><tr><td style='text-align:left;' >fpDm</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>发票代码</td><td></td></tr><tr><td style='text-align:left;' >fpHm</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>发票号码</td><td></td></tr><tr><td style='text-align:left;' >kprq</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>开票日期</td><td></td></tr><tr><td style='text-align:left;' >hjje</td><td>Double</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>合计金额</td><td></td></tr><tr><td style='text-align:left;' >jshj</td><td>Double</td><td style='text-align:left;' ></td><td style='text-align:left;' >否</td><td style='text-align:left;' ></td><td>价税合计</td><td></td></tr><tr><td style='text-align:left;' >jym</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>校验码</td><td></td></tr><tr><td style='text-align:left;' >srcapp</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >否</td><td style='text-align:left;' ></td><td>来源应用</td><td></td></tr><tr><td style='text-align:left;' >srcBillType</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >否</td><td style='text-align:left;' ></td><td>来源业务系统</td><td></td></tr><tr><td style='text-align:left;' >srcBillCode</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >否</td><td style='text-align:left;' ></td><td>业务系统单据号</td><td></td></tr></tbody></table></blockquote><hr /><h3><a name='header-c1392' class='md-header-anchor '></a>返回值</h3><pre class="md-fences md-end-block" lang="json"> <div class="CodeMirror cm-s-inner CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 4px;"></div><div class="CodeMirror-hscrollbar" style="left: 0px;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-vscrollbar"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; min-height: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"><div class="CodeMirror-activeline" style="position: relative;"><div class="CodeMirror-activeline-background CodeMirror-linebackground"></div><pre class=""><span style="padding-right: 0.1px;">{</span></pre></div><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"code"</span>: <span class="cm-string">"0000"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"msg"</span>: <span class="cm-string">"操作成功"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"datas"</span>: [{</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"code"</span>: <span class="cm-string">"3001"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"msg"</span>: <span class="cm-string">"发票已经存在,发票代码:330xxxx,发票号码:100xxx的状态为报销中!"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"330xxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"100xxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"saveToken"</span>: <span class="cm-string">"xxxx1"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"invoice"</span>: {</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"bz"</span>: <span class="cm-string">"备注"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fhr"</span>: <span class="cm-atom">null</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"330xxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"100xxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpMw"</span>: <span class="cm-atom">null</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fplx"</span>: <span class="cm-string">"4"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpjz"</span>: <span class="cm-string">"1"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"zfbz"</span>: <span class="cm-string">"N"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"gmfDzdh"</span>: <span class="cm-string">"北京 11xxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"gmfMc"</span>: <span class="cm-string">"购买方名称"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"gmfNsrsbh"</span>: <span class="cm-string">"11xxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"gmfYhzh"</span>: <span class="cm-string">"中国工商银行11xxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"hjje"</span>: <span class="cm-number">1419273.96</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"hjse"</span>: <span class="cm-number">241276.57</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"jshj"</span>: <span class="cm-number">1660550.53</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"jym"</span>: <span class="cm-string">"5277xxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"kpr"</span>: <span class="cm-atom">null</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"kprq"</span>: <span class="cm-string">"20171026"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"skr"</span>: <span class="cm-atom">null</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xsfDzdh"</span>: <span class="cm-string">"浙江 11111"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xsfMc"</span>: <span class="cm-string">"浙江"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xsfNsrsbh"</span>: <span class="cm-string">"12345"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xsfYhzh"</span>: <span class="cm-string">"工商银行40002993"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"hasExist"</span>: <span class="cm-atom">false</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"items"</span>: [{</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"dw"</span>: <span class="cm-string">"千瓦时"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"ggxh"</span>: <span class="cm-string">""</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"se"</span>: <span class="cm-number">241276.57</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"sl"</span>: <span class="cm-number">17</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xmdj"</span>: <span class="cm-number">0.755811788209566</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xmje"</span>: <span class="cm-number">1419273.96</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xmmc"</span>: <span class="cm-string">"电力"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xmsl"</span>: <span class="cm-number">1877814</span></span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span>}]</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span>}</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span>}, {</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"code"</span>: <span class="cm-string">"0000"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"msg"</span>: <span class="cm-string">"Success"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"330xxxx2"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"100xxx2"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"saveToken"</span>: <span class="cm-string">"xxxx2"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"invoice"</span>: {</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"bz"</span>: <span class="cm-string">"备注"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fhr"</span>: <span class="cm-atom">null</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"330xxxx2"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"100xxx2"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpMw"</span>: <span class="cm-atom">null</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fplx"</span>: <span class="cm-string">"4"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpjz"</span>: <span class="cm-string">"1"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"zfbz"</span>: <span class="cm-string">"N"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"gmfDzdh"</span>: <span class="cm-string">"北京 11xxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"gmfMc"</span>: <span class="cm-string">"购买方名称"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"gmfNsrsbh"</span>: <span class="cm-string">"11xxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"gmfYhzh"</span>: <span class="cm-string">"中国工商银行11xxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"hjje"</span>: <span class="cm-number">1419273.96</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"hjse"</span>: <span class="cm-number">241276.57</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"jshj"</span>: <span class="cm-number">1660550.53</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"jym"</span>: <span class="cm-string">"5277xxxxx"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"kpr"</span>: <span class="cm-atom">null</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"kprq"</span>: <span class="cm-string">"20171026"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"skr"</span>: <span class="cm-atom">null</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xsfDzdh"</span>: <span class="cm-string">"浙江 11111"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xsfMc"</span>: <span class="cm-string">"浙江"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xsfNsrsbh"</span>: <span class="cm-string">"12345"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xsfYhzh"</span>: <span class="cm-string">"工商银行40002993"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"hasExist"</span>: <span class="cm-atom">false</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"items"</span>: [{</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"dw"</span>: <span class="cm-string">"千瓦时"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"ggxh"</span>: <span class="cm-string">""</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"se"</span>: <span class="cm-number">241276.57</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"sl"</span>: <span class="cm-number">17</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xmdj"</span>: <span class="cm-number">0.755811788209566</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xmje"</span>: <span class="cm-number">1419273.96</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xmmc"</span>: <span class="cm-string">"电力"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"xmsl"</span>: <span class="cm-number">1877814</span></span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span>}]</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span>}</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span>}]</span></pre><pre class=""><span style="padding-right: 0.1px;">}</span></pre></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; top: 0px;"></div><div class="CodeMirror-gutters" style="display: none; height: 2063px;"></div></div></div></pre><h3><a name='header-c1394' class='md-header-anchor '></a>返回值说明</h3><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th>类型</th><th style='text-align:center;' >描述</th><th style='text-align:center;' >说明</th></tr></thead><tbody><tr><td style='text-align:left;' >code</td><td>String</td><td style='text-align:center;' >状态码</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >msg</td><td>String</td><td style='text-align:center;' >状态说明</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >fpDm</td><td>String</td><td style='text-align:center;' >发票代码</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >fpHm</td><td>String</td><td style='text-align:center;' >发票号码</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >saveToken</td><td>String</td><td style='text-align:center;' >保存token</td><td style='text-align:center;' >发票保存token；1张发票对应1个saveToken。此token有效期为10分钟，超过时长此token失效，需要重新查验。</td></tr><tr><td style='text-align:left;' >fplx</td><td>String</td><td style='text-align:center;' >发票类型</td><td style='text-align:center;' >1:增值税电子普通发票；3:增值税普通发票；4:增值税专用发票</td></tr><tr><td style='text-align:left;' >fpjz</td><td>String</td><td style='text-align:center;' >发票介质</td><td style='text-align:center;' >0:电子发票1:纸质发票</td></tr><tr><td style='text-align:left;' >fhr</td><td>String</td><td style='text-align:center;' >复核人</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xsfMc</td><td>String</td><td style='text-align:center;' >销售方名称</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xsfNsrsbh</td><td>String</td><td style='text-align:center;' >销售方纳税人识别号</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xsfYhzh</td><td>String</td><td style='text-align:center;' >销售方银行账号</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xsfDzdh</td><td>String</td><td style='text-align:center;' >销售方地址电话</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >gmfMc</td><td>String</td><td style='text-align:center;' >购买方名称</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >gmfNsrsbh</td><td>String</td><td style='text-align:center;' >购买方纳税人识别号</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >gmfDzdh</td><td>String</td><td style='text-align:center;' >购买方地址电话</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >gmfYhzh</td><td>String</td><td style='text-align:center;' >购买方银行账号</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >jym</td><td>String</td><td style='text-align:center;' >发票校验码</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >jqbh</td><td>String</td><td style='text-align:center;' >机器编号</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >hjse</td><td>double</td><td style='text-align:center;' >合计税额</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >jshj</td><td>double</td><td style='text-align:center;' >价税合计</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >hjje</td><td>double</td><td style='text-align:center;' >合计金额</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >zfbz</td><td>String</td><td style='text-align:center;' >作废标志</td><td style='text-align:center;' >Y:已作废；N:未作废</td></tr><tr><td style='text-align:left;' >bz</td><td>String</td><td style='text-align:center;' >备注</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xmmc</td><td>String</td><td style='text-align:center;' >项目名称</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >ggxh</td><td>String</td><td style='text-align:center;' >规格型号</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >dw</td><td>String</td><td style='text-align:center;' >计量单位</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xmsl</td><td>double</td><td style='text-align:center;' >项目数量</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xmdj</td><td>double</td><td style='text-align:center;' >项目单价</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xmje</td><td>double</td><td style='text-align:center;' >项目金额</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >xmjshj</td><td>double</td><td style='text-align:center;' >项目价税合计</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >sl</td><td>double</td><td style='text-align:center;' >项目税率</td><td style='text-align:center;' ></td></tr><tr><td style='text-align:left;' >se</td><td>double</td><td style='text-align:center;' >项目税额</td><td style='text-align:center;' ></td></tr></tbody></table></blockquote><h2><a name='header-c1562' class='md-header-anchor '></a> </h2><h2><a name='header-c1563' class='md-header-anchor '></a>7、发票保存个人票夹</h2><h3><a name='header-c1564' class='md-header-anchor '></a>URL</h3><blockquote><p>POST
http://<HOST>:<PORT>/piaoeda-web/api/invoice/ybz/save?appid=XXXXX</p></blockquote><hr /><h4><a name='header-c1570' class='md-header-anchor '></a>请头说明</h4><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th>类型</th><th style='text-align:left;' >是否必填</th><th style='text-align:left;' >说明</th></tr></thead><tbody><tr><td style='text-align:left;' >sign</td><td>String</td><td style='text-align:left;' >是</td><td style='text-align:left;' >请求签名信息</td></tr></tbody></table></blockquote><hr /><h3><a name='header-c1584' class='md-header-anchor '></a>请求体</h3><pre class="md-fences md-end-block" lang="json"> <div class="CodeMirror cm-s-inner CodeMirror-wrap        "><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 207.994px; left: 284px;"></div><div class="CodeMirror-hscrollbar" style="left: 0px;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-vscrollbar"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; min-height: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre>x</pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"><pre class=""><span style="padding-right: 0.1px;">{</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"useremail"</span>: <span class="cm-string">"yy@yy.com"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"usermobile"</span>: <span class="cm-string">"13311111111"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"orgCode"</span>: <span class="cm-string">""</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"nsrsbh"</span>: <span class="cm-string">""</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-string cm-property">"invoices"</span>: [{</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"1100154320"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"25045336"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"saveToken"</span>: <span class="cm-string">"xxx1"</span>,</span></pre><div class="CodeMirror-activeline" style="position: relative;"><div class="CodeMirror-activeline-background CodeMirror-linebackground"></div><pre class=""><span style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  <span class="cm-tab">    </span><span class="cm-string cm-property">"</span><span class="cm-string cm-property cm-cm-overlay cm-search-hit">api/invoice/ybz/verify</span><span class="cm-string cm-property">"</span> : <span class="cm-number">123812903810</span></span></pre></div><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span>},</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span>{</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpDm"</span>: <span class="cm-string">"1100154320"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"fpHm"</span>: <span class="cm-string">"25045336"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-tab">    </span><span class="cm-string cm-property">"saveToken"</span>: <span class="cm-string">"xxx2"</span></span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span><span class="cm-tab">    </span>}</span></pre><pre class=""><span style="padding-right: 0.1px;"><span class="cm-tab">    </span>]</span></pre><pre class=""><span style="padding-right: 0.1px;">}</span></pre></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; top: 0px;"></div><div class="CodeMirror-gutters" style="display: none; height: 416px;"></div></div></div></pre><h4><a name='header-c1586' class='md-header-anchor '></a>请求体说明</h4><blockquote><table><thead><tr><th style='text-align:left;' >参数</th><th>类型</th><th style='text-align:left;' >长度值</th><th style='text-align:left;' >是否必填</th><th style='text-align:left;' >默认值</th><th>描述</th><th>说明</th></tr></thead><tbody><tr><td style='text-align:left;' >useremail</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >否</td><td style='text-align:left;' ></td><td>用户邮箱</td><td>手机号、邮箱不能都为空</td></tr><tr><td style='text-align:left;' >usermobile</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >否</td><td style='text-align:left;' ></td><td>用户手机号</td><td>手机号、邮箱不能都为空</td></tr><tr><td style='text-align:left;' >orgCode</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>组织编码</td><td></td></tr><tr><td style='text-align:left;' >nsrsbh</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>纳税人识别号</td><td></td></tr><tr><td style='text-align:left;' >fpDm</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>发票代码</td><td></td></tr><tr><td style='text-align:left;' >fpHm</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>发票号码</td><td></td></tr><tr><td style='text-align:left;' >saveToken</td><td>String</td><td style='text-align:left;' ></td><td style='text-align:left;' >是</td><td style='text-align:left;' ></td><td>发票保存token</td><td></td></tr><tr><td style='text-align:left;' >imageId</td><td>Long</td><td style='text-align:left;' ></td><td style='text-align:left;' >否</td><td style='text-align:left;' ></td><td>图片ID</td><td>用于ocr后保存查验数据</td></tr></tbody></table></blockquote><hr /><h3><a name='header-c1662' class='md-header-anchor '></a>返回值</h3><pre class="md-fences md-end-block" lang="json"> <div class="CodeMirror cm-s-inner CodeMirror-wrap"><div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 4px;"></div><div class="CodeMirror-hscrollbar" style="left: 0px;"><div style="height: 100%; min-height: 1px; width: 0px;"></div></div><div class="CodeMirror-vscrollbar"><div style="min-width: 1px; height: 0px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="margin-left: 0px; min-height: 0px;"><div style="position: relative; top: 0px;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"><div class="CodeMirror-activeline" style="position: relative;"><div class="CodeMirror-activeline-background CodeMirror-linebackground"></div><pre class=""><span style="padding-right: 0.1px;">{</span></pre></div><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"code"</span>: <span class="cm-string">"0000"</span>,</span></pre><pre class=""><span style="padding-right: 0.1px;"> &nbsp;  <span class="cm-string cm-property">"msg"</span>: <span class="cm-string">"操作成功"</span></span></pre><pre class=""><span style="padding-right: 0.1px;">}</span></pre></div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px; top: 0px;"></div><div class="CodeMirror-gutters" style="display: none; height: 90px;"></div></div></div></pre><h4><a name='header-c1664' class='md-header-anchor '></a>返回值说明</h4><blockquote><table><thead><tr><th>参数</th><th>类型</th><th>描述</th><th>说明</th></tr></thead><tbody><tr><td>code</td><td>String</td><td>状态吗</td><td>0000-操作成功;1002-token不存在;<a href='#header-c1684'>详见状态码说明</a></td></tr><tr><td>msg</td><td>String</td><td>信息说明</td><td></td></tr></tbody></table></blockquote><h2><a name='header-c1682' class='md-header-anchor '></a> </h2><h2><a name='header-c1683' class='md-header-anchor '></a>附录</h2><h3><a name='header-c1684' class='md-header-anchor '></a>状态码</h3><blockquote><table><thead><tr><th style='text-align:left;' >状态码</th><th>说明</th></tr></thead><tbody><tr><td style='text-align:left;' >0000</td><td>操作成功</td></tr><tr><td style='text-align:left;' >1001</td><td>数据不合法，传入参数</td></tr><tr><td style='text-align:left;' >1002</td><td>数据不存在</td></tr><tr><td style='text-align:left;' >3002</td><td>发票解析出错</td></tr><tr><td style='text-align:left;' >3003</td><td>发票查验不合法</td></tr><tr><td style='text-align:left;' >3004</td><td>发票状态不正确</td></tr><tr><td style='text-align:left;' >4001</td><td>发票已经上传，不能重复上传</td></tr><tr><td style='text-align:left;' >9999</td><td>未知错误</td></tr></tbody></table></blockquote></div>
</body>
</html>